﻿// © 2009 Microsoft Corporation.  All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Microsoft.InformationSecurity.RiskManagement.ISRMWeb.UserControls
{
    /// <summary>
    /// Represents arguments used in the search control's events.
    /// </summary>
    public class SearchFilterResultEventArgs:EventArgs
    {
        /// <summary>
        /// Public Constructor
        /// </summary>
        public SearchFilterResultEventArgs() { }
        /// <summary>
        /// Public Constructor using the search field.
        /// </summary>
        /// <param name="result">Selected search field.</param>
        public SearchFilterResultEventArgs(SearchFilterResult result) 
        {
            this.Result = result;
        }
        /// <summary>
        /// Returns the search field
        /// </summary>
        public SearchFilterResult Result { set; get; }
    }
}
